<?php

namespace App\Http\Models;

class GoodsShop extends BaseModel
{
    protected $table = 'goods_shop';
    protected $guarded=[];

    //对应商品表
    public function goods()
    {
        return $this->belongsTo(Goods::class,'gid');
    }
}